package com.pks.autoInsurance.helper;

import com.pks.autoInsurance.dao.LoginDAO;
import com.pks.autoInsurance.dao.LoginDAOImpl;
import com.pks.autoInsurance.dto.LoginDto;

public class LoginHelper {
	/*
	 * Perform login authentication
	 */
	public int authenticateUser(LoginDto loginReq) {
		System.out.println(getClass() + "::::authenticateUser::::begin");
		LoginDAO loginDAO = new LoginDAOImpl();
		System.out.println(getClass() + "::::authenticateUser::::end");
		return loginDAO.authenticateUser(loginReq);

	}

}
